﻿<%@ Page Language="C#" %>

<!DOCTYPE html>

<script runat="server">

    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        lblMessage.Text = "没有表单提交信息，直接通过按钮修改相关控件信息";
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:TextBox ID="txtInput" runat="server">请输入内容</asp:TextBox>
            <br />
            <br />
            <asp:Label ID="lblMessage" runat="server" Text="哈哈哈"></asp:Label>
            <br />
            <br />
            <asp:Button ID="btnSubmit" runat="server" Height="27px" OnClick="btnSubmit_Click" Text="确定" Width="92px" />
        </div>
    </form>
</body>
</html>
